projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2cc9f3
)
stylecontext: Remove leftover debugging
author
Benjamin Otte
<otte@redhat.com>
Mon, 17 Sep 2012 08:48:38 +0000
(10:48 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 17 Sep 2012 18:39:14 +0000
(20:39 +0200)
... that actually was both wrong, a performance failure and has been
there since the original checkin.
Updating the cached style data absolutely does not mean clearing all
cached style data first. There's nothing to update then.
gtk/gtkstylecontext.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstylecontext.c
b/gtk/gtkstylecontext.c
index 239dd55bb3b1e09bb4aba26ebf3f1d6b173ec82d..538897af2eb25a8ddf8af7309e922e60b7071e81 100644
(file)
--- a/
gtk/gtkstylecontext.c
+++ b/
gtk/gtkstylecontext.c
@@
-2948,8
+2948,6
@@
gtk_style_context_update_cache (GtkStyleContext *context,
priv = context->priv;
- g_hash_table_remove_all (priv->style_data);
-
g_hash_table_iter_init (&iter, priv->style_data);
while (g_hash_table_iter_next (&iter, &key, &value))
{